Comparing exponents maths hack